package com.itheima.stock.mapper;

import com.itheima.stock.pojo.SysRole;
import com.itheima.stock.vo.resp.RoleJiaZai;

import java.util.List;

/**
 * @author 15595
 * @description 针对表【sys_role(角色表)】的数据库操作Mapper
 * @createDate 2022-02-12 19:49:11
 * @Entity com.itheima.stock.pojo.SysRole
 */
public interface SysRoleMapper {

    //加载分页的的role数据
    List<SysRole> findRole();

    int deleteByPrimaryKey(String id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

}
